package com.financing.wap.dao;


import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.wap.dto.SalesPrizesDTO;
/**
 * sales_prizes  
 * 奖项配置表 数据访问层接口
 * @author huqiyun
 *
 */
public interface ISalesPrizesDao extends IBaseDao<SalesPrizesDTO, Integer> {

 	public int insert(SalesPrizesDTO salesPrizes) throws SQLException;
    
    public void update(SalesPrizesDTO salesPrizes) throws SQLException;
   
    public void updateForce(SalesPrizesDTO salesPrizes) throws SQLException;
   
    public void delete(Integer id) throws SQLException;
	
    public List<SalesPrizesDTO> queryList(SalesPrizesDTO salesPrizes)throws SQLException;
    
    public int queryListCount(SalesPrizesDTO salesPrizes) throws SQLException;
   
    public SalesPrizesDTO loadById(Integer id) throws SQLException;
    
    public List<SalesPrizesDTO> queryListSend(SalesPrizesDTO salesPrizes)throws SQLException;
    
    public List<Map<String,String>> salesPrizesPeopleList()throws SQLException;
}
